package com.vast.admin.utils;

import com.vast.admin.entity.enums.OperatorEum;

public class QueryBuilder {

    /**
     * 查询属性字段
     */
    private String field;

    /**
     * 查询操作符
     */
    private OperatorEum as;

    /**
     * 查询参数值
     */
    private String params;

    public QueryBuilder() {

    }

    public QueryBuilder(String field, OperatorEum as, String params) {
        this.field = field;
        this.as = as;
        this.params = params;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public OperatorEum getAs() {
        return as;
    }

    public void setAs(OperatorEum as) {
        this.as = as;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
}
